package com.jumi.microservice.entity;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableField;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.time.LocalDateTime;

    import com.jumi.microservice.enums.FeedbackStatus;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;

    import javax.validation.constraints.NotNull;

/**
* <p>
    * 会员反馈表
    * </p>
*
* @author 要挑客户管理团队
* @since 2020-08-06
*/
    @ApiModel(value="会员反馈对象", description="会员反馈表")
    public class JmFeedback {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "反馈人id")
    private Integer uid;

    @ApiModelProperty(value = "反馈内容")
    private String content;

    @ApiModelProperty(value = "回复内容")
    private String reply;

    @ApiModelProperty(value = "反馈状态：0待回复，1已回复")
    private FeedbackStatus status;

    @ApiModelProperty(value = "回复人id")
    private Long replyId;

    @ApiModelProperty(value = "回复人姓名")
    private String  replyName;

    @ApiModelProperty(value = "反馈时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "回复时间")
    private LocalDateTime replyTime;


    public Long getReplyId() {
        return replyId;
    }

    public void setReplyId(Long replyId) {
        this.replyId = replyId;
    }

    public String getReplyName() {
        return replyName;
    }

    public void setReplyName(String replyName) {
        this.replyName = replyName;
    }

    public Integer getId() {
        return id;
        }

            public void setId(Integer id) {
        this.id = id;
        }
        public Integer getUid() {
        return uid;
        }

            public void setUid(Integer uid) {
        this.uid = uid;
        }
        public String getContent() {
        return content;
        }

            public void setContent(String content) {
        this.content = content;
        }
        public String getReply() {
        return reply;
        }

            public void setReply(String reply) {
        this.reply = reply;
        }

    public FeedbackStatus getStatus() {
        return status;
    }

    public void setStatus(FeedbackStatus status) {
        this.status = status;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
        }

            public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
        }
        public LocalDateTime getReplyTime() {
        return replyTime;
        }

            public void setReplyTime(LocalDateTime replyTime) {
        this.replyTime = replyTime;
        }

    @Override
    public String toString() {
    return "JmFeedback{" +
            "id=" + id +
            ", uid=" + uid +
            ", content=" + content +
            ", reply=" + reply +
            ", status=" + status +
            ", createTime=" + createTime +
            ", replyTime=" + replyTime +
    "}";
    }
}
